@import "@wordpress/base-styles/breakpoints";
@import "@wordpress/base-styles/mixins";

.step-route.use-my-domain {
	.domain-transfer-or-connect__content {
		box-shadow: none;
	}
}

.step-route.use-my-domain:not(:has(.step-container-v2)) {
	padding: 36px 0;
}

.use-my-domain:has(.step-container-v2) {
	padding: 0;

	.domain-transfer-or-connect__content {
		&.card {
			padding: 0;
			margin: 0;
		}

		.option-content {
			padding: 48px 0;
			margin: 0;
			gap: 24px;

			@include break-small {
				gap: 48px;
			}

			&:first-child {
				padding-top: 0;
			}

			.option-content__illustration {
				display: none;

				@include break-small {
					display: block;
				}
			}

			.option-content__main {
				max-width: unset;
				margin: 0;
			}

			.option-content__action:empty {
				// Ensure the action container doesn't participate in the flex
				// layout when there's no button.
				display: none;
			}
		}
	}
}
